From ac9ad470ced62cfe7cbc9dd8a111666ab2a4de96 Mon Sep 17 00:00:00 2001 From: Isaku Yamahata Date: Wed, 22 Oct 2008 11:38:22 +0900 Subject: [PATCH] [IA64] fix compilation error of xen/common/spinlock.c This patch fixes the error in the x86 tree. > spinlock.c: In function _spin_lock_recursive: > spinlock.c:59: error: dereferencing pointer to incomplete type Signed-off-by: Isaku Yamahata --- xen/include/asm-ia64/linux-xen/asm/smp.h | 1 + 1 file changed, 1 insertion(+) diff --git a/xen/include/asm-ia64/linux-xen/asm/smp.h b/xen/include/asm-ia64/linux-xen/asm/smp.h index a8a143a54b..558702b200 100644 --- a/xen/include/asm-ia64/linux-xen/asm/smp.h +++ b/xen/include/asm-ia64/linux-xen/asm/smp.h @@ -47,6 +47,7 @@ ia64_get_lid (void) #define SMP_IPI_REDIRECTION (1 << 1) #ifdef XEN +#include #define raw_smp_processor_id() (current->processor) #else #define raw_smp_processor_id() (current_thread_info()->cpu) -- 2.30.2